home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
pcpil
/
sample12.pil
< prev
next >
Wrap
Text File
|
1987-11-30
|
2KB
|
116 lines
R: Sample14 - shows use of several sized fonts.
R: This program was written using the GETFONT.PIM macro to load in each
R: successive font. To use the GETFONT.PIM macro in your program: in EZ
R: push F7, type GETFONT.PIM then enter the font name when requested.
TS:M5
T:A Look At PILOT's FONTS.
R: * * * * GETFONT MACRO * * * *
C:%B="helv6"!!".FMF"
C:FONTZ=FIZ(%B)
T(FONTZ<=0):Missing font file $%B
EC:
R:
D:FONT$(FONTZ)
X:"FX:"!!%B
FI:0,FONT$
FX:
R: * * * * * END OF GETFONT MACRO * * * *
NS:FONT$
ts:v20,39,2,13;f1
T:In this very small type size it is
:possible to get a lot of text even
:in this mode which normally permits
:only 40 columns of text per line.
:In the higher resolution modes
:(6, 13,14,16) you can even double
:this density.
ts:V;
ts:g0,9;f3
T:HELV6 - Abcd 1234
R: * * * * GETFONT MACRO * * * *
C:%B="helv8"!!".FMF"
C:FONTZ=FIZ(%B)
T(FONTZ<=0):Missing font file $%B
EC:
R:
D:FONT$(FONTZ)
X:"FX:"!!%B
FI:0,FONT$
FX:
R: * * * * * END OF GETFONT MACRO * * * *
NS:FONT$
T:HELV8 - Abcd 1234
R: * * * * GETFONT MACRO * * * *
C:%B="helv8b"!!".FMF"
C:FONTZ=FIZ(%B)
T(FONTZ<=0):Missing font file $%B
EC:
R:
D:FONT$(FONTZ)
X:"FX:"!!%B
FI:0,FONT$
FX:
R: * * * * * END OF GETFONT MACRO * * * *
NS:FONT$
T:HELV8B - Abcd 1234
R: * * * * GETFONT MACRO * * * *
C:%B="helv15"!!".FMF"
C:FONTZ=FIZ(%B)
T(FONTZ<=0):Missing font file $%B
EC:
R:
D:FONT$(FONTZ)
X:"FX:"!!%B
FI:0,FONT$
FX:
R: * * * * * END OF GETFONT MACRO * * * *
NS:FONT$
T:HELV15 - Aabcd 1234
R: * * * * GETFONT MACRO * * * *
C:%B="helv15b"!!".FMF"
C:FONTZ=FIZ(%B)
T(FONTZ<=0):Missing font file $%B
EC:
R:
D:FONT$(FONTZ)
X:"FX:"!!%B
FI:0,FONT$
FX:
R: * * * * * END OF GETFONT MACRO * * * *
NS:FONT$
T:HELV15B - Abcd 1234
R: * * * * GETFONT MACRO * * * *
C:%B="helv20"!!".FMF"
C:FONTZ=FIZ(%B)
T(FONTZ<=0):Missing font file $%B
EC:
R:
D:FONT$(FONTZ)
X:"FX:"!!%B
FI:0,FONT$
FX:
R: * * * * * END OF GETFONT MACRO * * * *
NS:FONT$
T:HELV20 - Abcd 1234
NS:
t:
T:Many other fancy fonts are available
:by odering FONT LIBRARY DISK 1.